<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
    <title>Customer Control Panel</title>
    <link rel="Shortcut Icon" href="<?php echo Yii::app()->baseUrl; ?>/favicon.ico"/>

    <script>
        <?php echo "baseUrl ='" . Yii::app()->baseUrl . "';"; ?>
    </script>
    <?php Yii::app()->clientScript->registerCoreScript('jquery')?>
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl; ?>/css/admin.css"/>
    <link type="text/css" rel="stylesheet" href="<?php echo Yii::app()->baseUrl; ?>/css/gridsearch.css"/>
    <link type="text/css" rel="stylesheet" href="<?php echo Yii::app()->baseUrl; ?>/css/form.css"/>
    <link type="text/css" rel="stylesheet" href="<?=Yii::app()->baseUrl;?>/js/fancybox/jquery.fancybox-1.3.4.css"/>
    <link type="text/css" rel="stylesheet" href="<?php echo Yii::app()->baseUrl; ?>/extjs/resources/css/ext-all.css"/>
    <script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/extjs/ext-all.js"></script>
    <script>
        if (Ext.BLANK_IMAGE_URL.substr(0, 5) != 'data:') {
            Ext.BLANK_IMAGE_URL = 'images/s.gif';
        }

    </script>
    <script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/app/model.js"></script>
    <script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/app/StatusBar.js"></script>
    <script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/app/LiveSearchGridPanel.js"></script>
    <script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/jquery.easing.1.3.js"></script>
    <script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/jquery.hoverIntent.minified.js"></script>
    <script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/jquery.bgiframe.min.js"></script>
    <script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/excanvas.compiled.js"></script>
    <script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/jquery.qtip-1.0.0-rc3.min.js"></script>
    <script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/jquery.bt.min.js"></script>
    <script src="<?=Yii::app()->baseUrl;?>/js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
    <script src="<?=Yii::app()->baseUrl;?>/js/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
    <script src="<?=Yii::app()->baseUrl;?>/js/jtab.js"></script>
    <script src="<?=Yii::app()->baseUrl;?>/js/jquery.tabify.js"></script>
    <script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/app/app.js"></script>

</head>

<body class="darkgray">
<div style="font-weight: bold; color:red; position:absolute;left:110px;top:7px;" id="mainsitenotice"></div>
<div id="msg-div" class="msg-div-wrapper" style="display:none;">
    <div id="msg-div-inner" class="msg-div-inner"></div>
</div>
<div id="header">

            <div class="smenu">         
                  <?php
               
                $this->widget('application.extensions.menu.SMenu', array(
                    'menu' => array(
                        array(
                            'url' => array(
                                'route' => 'salespersonportal/default/dashboard',
                            ),
                            'label' => 'Home',
                            array(
                                'url' => array(
                                    'route' => 'salespersonportal/default/dashboard'
                                ),
                                'label' => 'Sales Dashboard',
                                'visible' => true,
                            )
                        ),
                        array(
                            'url' => array(
                                'route' => 'salespersonportal/Customers',
                            ),
                            'label' => 'Customers',
                            array(
                                'url' => array(
                                    'route' => 'salespersonportal/Customers'
                                ),
                                'label' => 'Customer List',
                                'visible' => true,
                            ),
                              array(
                                'url' => array('route' => 'salespersonportal/jobscenter'),
                                'label' => 'Job Center',
                            ),
                        ),
                    ),
                    'menuID' => 'myMenu',
                        )
                );
                ?>

            </div>  
    <div class="user-box">
        <div class="user-box-name">
            <a href="index.php?fuse=admin&amp;view=EditAddAdminAccount">Welcome <?php echo getUserRealname(Yii::app()->user->name)?></a>

        </div>
        <ul class="user-nav">

            

            <li><a onclick="" qtip="Context Help" href="javascript:void(0);">Help</a></li>
            <li><a href="index.php?r=site/logout">Logout</a></li>
        </ul>
    </div>

    <!-- change #header h1 to with your logo in main.css -->

    <h1 class="mainlogo"><a href="#"></a></h1>
</div>

<div id="main">


    <?php echo $content?>

</div>
<!-- main -->

<div id="footer">
    <ul id="activechats">
        <li>

        </li>
    </ul>
</div>

<div id="advancedsearch-win" class="x-hidden">
    <div class="x-window-header">Search Options</div>
    <div id="advancedsearchcontent" class="x-hidden"></div>
</div>


</body>
</html>
